package cn.ffcs.organ.service;

import cn.ffcs.base.service.BaseService;
import cn.ffcs.base.web.PageControl;
import cn.ffcs.organ.dao.IPersonDAO;
import cn.ffcs.organ.model.Person;

/**
 * 人员服务<br/>
 * <table>
 * <tr>
 * <td>负责人/principal:</td>
 * <td colspan="2">liuzhh</td>
 * <tr>
 * <td>修改记录/revision:</td>
 * <td colspan="2"></td>
 * </tr>
 * <tr>
 * <td>日期:</td>
 * <td>修改人:</td>
 * <td>修改说明:</td>
 * </tr>
 * <tr>
 * <td></td>
 * <td></td>
 * <td></td>
 * </tr>
 * </table>
 * @author liuzhh
 * @version $Id$
 */
public class PersonService<P extends Person> extends BaseService<P> implements
        IPersonService<P>
{
    private IPersonDAO personDAO;
    /*
     * 查询未与当前组织关联的所有人员
     */
    public PageControl findSelectByPage(Person person,int currPage, int pageSize,int organId){
        return personDAO.findSelectByPage(person,currPage, pageSize,organId);
    }
    public IPersonDAO getPersonDAO()
    {
        return personDAO;
    }
    public void setPersonDAO(IPersonDAO personDAO)
    {
        this.personDAO = personDAO;
    }
}
